function BranchData() {
    this.position = -1;
    this.nodeLength = -1;
    this.evalFalse = 0;
    this.evalTrue = 0;

    this.init = function(position, nodeLength) {
        this.position = position;
        this.nodeLength = nodeLength;
        return this;
    };

    this.ranCondition = function(result) {
        if (result)
            this.evalTrue++;
        else
            this.evalFalse++;
    };

    this.pathsCovered = function() {
        var paths = 0;
        if (this.evalTrue > 0)
          paths++;
        if (this.evalFalse > 0)
          paths++;
        return paths;
    };

    this.covered = function() {
        return this.evalTrue > 0 && this.evalFalse > 0;
    };

    this.toJSON = function() {
        return '{"position":' + this.position
            + ',"nodeLength":' + this.nodeLength
            + ',"evalFalse":' + this.evalFalse
            + ',"evalTrue":' + this.evalTrue + '}';
    };

    this.message = function(src) {
        if (this.evalTrue === 0 && this.evalFalse === 0)
            return 'Condition never evaluated         :\t' + src + '\n';
        else if (this.evalTrue === 0)
            return 'Condition never evaluated to true :\t' + src + '\n';
        else if (this.evalFalse === 0)
            return 'Condition never evaluated to false:\t' + src + '\n';
        else
            return 'Condition covered';
    };
}

BranchData.fromJson = function(jsonString) {
    var json = eval('(' + jsonString + ')');
    var branchData = new BranchData();
    branchData.init(json.position, json.nodeLength);
    branchData.evalFalse = json.evalFalse;
    branchData.evalTrue = json.evalTrue;
    return branchData;
};

BranchData.fromJsonObject = function(json) {
    var branchData = new BranchData();
    branchData.init(json.position, json.nodeLength);
    branchData.evalFalse = json.evalFalse;
    branchData.evalTrue = json.evalTrue;
    return branchData;
};

function buildBranchMessage(conditions) {
    var message = 'The following was not covered:';
    var i;
    for (i = 0; i < conditions.length; i++) {
        if (conditions[i] !== undefined && conditions[i] !== null && !conditions[i].covered())
            message += '\n- '+ conditions[i].message(conditions[i].src);
    }
    return message;
}

function convertBranchDataConditionArrayToJSON(branchDataConditionArray) {
    var condition, branchDataObject, value;
    var array = [];
    var length = branchDataConditionArray.length;
    for (condition = 0; condition < length; condition++) {
        branchDataObject = branchDataConditionArray[condition];
        if (branchDataObject === undefined || branchDataObject === null) {
            value = 'null';
        } else {
            value = branchDataObject.toJSON();
        }
        array.push(value);
    }
    return '[' + array.join(',') + ']';
}

function convertBranchDataLinesToJSON(branchData) {
    if (branchData === undefined) {
        return '{}'
    }
    var line;
    var json = '';
    for (line in branchData) {
        if (isNaN(line))
            continue;
        if (json !== '')
            json += ',';
        json += '"' + line + '":' + convertBranchDataConditionArrayToJSON(branchData[line]);
    }
    return '{' + json + '}';
}

function convertBranchDataLinesFromJSON(jsonObject) {
    if (jsonObject === undefined) {
        return {};
    }
    var line, branchDataJSON, conditionIndex, condition;
    for (line in jsonObject) {
        branchDataJSON = jsonObject[line];
        if (branchDataJSON !== null) {
            for (conditionIndex = 0; conditionIndex < branchDataJSON.length; conditionIndex ++) {
                condition = branchDataJSON[conditionIndex];
                if (condition !== null) {
                    branchDataJSON[conditionIndex] = BranchData.fromJsonObject(condition);
                }
            }
        }
    }
    return jsonObject;
}
function jscoverage_quote(s) {
    return '"' + s.replace(/[\u0000-\u001f"\\\u007f-\uffff]/g, function (c) {
        switch (c) {
            case '\b':
                return '\\b';
            case '\f':
                return '\\f';
            case '\n':
                return '\\n';
            case '\r':
                return '\\r';
            case '\t':
                return '\\t';
            // IE doesn't support this
            /*
             case '\v':
             return '\\v';
             */
            case '"':
                return '\\"';
            case '\\':
                return '\\\\';
            default:
                return '\\u' + jscoverage_pad(c.charCodeAt(0).toString(16));
        }
    }) + '"';
}

function getArrayJSON(coverage) {
    var array = [];
    if (coverage === undefined)
        return array;

    var length = coverage.length;
    for (var line = 0; line < length; line++) {
        var value = coverage[line];
        if (value === undefined || value === null) {
            value = 'null';
        }
        array.push(value);
    }
    return array;
}

function jscoverage_serializeCoverageToJSON() {
    var json = [];
    for (var file in _$jscoverage) {
        var lineArray = getArrayJSON(_$jscoverage[file].lineData);
        var fnArray = getArrayJSON(_$jscoverage[file].functionData);

        json.push(jscoverage_quote(file) + ':{"lineData":[' + lineArray.join(',') + '],"functionData":[' + fnArray.join(',') + '],"branchData":' + convertBranchDataLinesToJSON(_$jscoverage[file].branchData) + '}');
    }
    return '{' + json.join(',') + '}';
}

function jscoverage_parseCoverageJSON(data) {
    // var result = {};
    var json = eval('(' + data + ')');
    var file;
    for (file in json) {
        var fileCoverage = json[file];
        result[file] = {};
        result[file].lineData = fileCoverage.lineData;
        result[file].functionData = fileCoverage.functionData;
        result[file].branchData = convertBranchDataLinesFromJSON(fileCoverage.branchData);
    }
    return result;
}

function jscoverage_pad(s) {
    return '0000'.substr(s.length) + s;
}

function jscoverage_html_escape(s) {
    return s.replace(/[<>\&\"\']/g, function (c) {
        return '&#' + c.charCodeAt(0) + ';';
    });
}
var jsCover_isolateBrowser = false;
if (!jsCover_isolateBrowser) {
    try {
        if (typeof top === 'object' && top !== null && typeof top.opener === 'object' && top.opener !== null) {
            // this is a browser window that was opened from another window

            if (!top.opener._$jscoverage) {
                top.opener._$jscoverage = {};
            }
        }
    } catch (e) {
    }

    try {
        if (typeof top === 'object' && top !== null) {
            // this is a browser window

            try {
                if (typeof top.opener === 'object' && top.opener !== null && top.opener._$jscoverage) {
                    top._$jscoverage = top.opener._$jscoverage;
                }
            } catch (e) {
            }

            if (!top._$jscoverage) {
                top._$jscoverage = {};
            }
        }
    } catch (e) {
    }

    try {
        if (typeof top === 'object' && top !== null && top._$jscoverage) {
            this._$jscoverage = top._$jscoverage;
        }
    } catch (e) {
    }
}
if (!this._$jscoverage) {
    this._$jscoverage = {};
}
if (! _$jscoverage['/luaclient_dest.js']) {
  _$jscoverage['/luaclient_dest.js'] = {};
  _$jscoverage['/luaclient_dest.js'].lineData = [];
  _$jscoverage['/luaclient_dest.js'].lineData[2] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[18] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[19] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[21] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[24] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[25] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[26] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[33] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[35] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[36] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[48] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[49] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[52] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[53] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[55] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[57] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[58] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[59] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[61] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[62] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[71] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[72] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[73] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[74] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[75] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[81] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[82] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[83] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[84] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[85] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[91] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[92] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[93] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[94] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[100] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[101] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[102] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[103] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[109] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[110] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[111] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[112] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[121] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[122] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[123] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[124] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[125] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[126] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[128] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[130] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[131] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[132] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[133] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[135] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[137] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[138] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[148] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[149] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[150] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[151] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[152] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[153] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[163] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[164] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[165] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[166] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[167] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[168] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[169] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[183] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[184] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[185] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[186] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[187] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[188] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[189] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[190] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[191] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[199] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[200] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[201] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[202] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[203] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[204] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[206] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[214] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[215] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[216] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[217] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[226] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[227] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[228] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[229] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[230] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[231] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[232] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[234] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[244] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[245] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[246] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[247] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[248] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[249] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[250] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[251] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[253] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[263] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[264] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[265] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[266] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[267] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[268] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[278] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[279] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[280] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[281] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[282] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[283] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[284] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[286] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[295] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[296] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[297] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[298] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[299] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[309] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[310] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[311] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[312] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[313] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[314] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[315] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[325] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[326] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[327] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[328] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[329] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[330] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[331] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[341] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[342] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[343] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[344] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[345] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[355] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[356] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[357] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[358] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[359] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[370] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[371] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[372] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[373] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[374] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[375] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[386] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[387] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[388] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[389] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[390] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[391] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[394] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[395] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[396] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[398] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[399] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[400] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[401] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[404] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[405] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[406] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[407] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[408] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[410] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[411] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[412] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[414] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[415] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[416] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[417] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[427] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[428] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[429] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[430] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[431] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[432] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[443] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[444] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[445] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[446] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[447] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[448] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[449] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[460] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[461] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[462] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[463] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[464] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[466] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[467] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[468] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[470] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[471] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[472] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[473] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[474] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[483] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[484] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[485] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[486] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[487] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[496] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[497] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[498] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[499] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[508] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[509] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[510] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[511] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[520] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[521] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[522] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[523] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[524] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[525] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[534] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[535] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[536] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[537] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[538] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[547] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[548] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[549] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[550] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[551] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[552] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[561] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[563] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[564] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[565] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[566] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[575] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[577] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[578] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[579] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[580] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[589] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[591] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[592] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[593] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[594] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[603] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[604] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[605] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[606] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[607] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[616] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[618] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[619] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[620] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[621] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[622] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[632] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[634] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[635] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[636] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[637] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[638] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[648] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[649] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[650] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[651] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[652] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[653] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[663] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[664] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[665] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[666] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[667] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[668] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[670] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[671] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[672] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[674] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[677] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[687] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[689] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[690] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[691] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[692] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[701] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[703] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[704] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[705] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[706] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[714] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[716] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[717] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[718] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[727] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[728] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[729] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[730] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[731] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[739] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[740] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[741] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[742] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[743] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[744] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[745] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[746] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[747] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[748] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[749] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[751] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[755] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[756] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[757] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[759] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[760] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[762] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[770] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[771] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[772] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[773] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[781] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[782] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[783] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[784] = 0;
  _$jscoverage['/luaclient_dest.js'].lineData[785] = 0;
}
_$jscoverage['/luaclient_dest.js'].lineData[2]++;
function test2() {
  _$jscoverage['/luaclient_dest.js'].lineData[18]++;
  var Runnable = Java.type('java.lang.Runnable');
  _$jscoverage['/luaclient_dest.js'].lineData[19]++;
  var RunnableImpl = Java.extend(Runnable, {run:function() {
    _$jscoverage['/luaclient_dest.js'].lineData[21]++;
    print('Run in separate thread');
  }});
  _$jscoverage['/luaclient_dest.js'].lineData[24]++;
  var Thread = Java.type('java.lang.Thread');
  _$jscoverage['/luaclient_dest.js'].lineData[25]++;
  var th = new Thread(new RunnableImpl);
  _$jscoverage['/luaclient_dest.js'].lineData[26]++;
  th.start();
}
_$jscoverage['/luaclient_dest.js'].lineData[33]++;
var startupTimestamp = 0;
_$jscoverage['/luaclient_dest.js'].lineData[35]++;
function getStartupTimestamp() {
  _$jscoverage['/luaclient_dest.js'].lineData[36]++;
  return startupTimestamp;
}
_$jscoverage['/luaclient_dest.js'].lineData[48]++;
function isLuaProcessClosed() {
  _$jscoverage['/luaclient_dest.js'].lineData[49]++;
  return !lp.IsExist();
}
_$jscoverage['/luaclient_dest.js'].lineData[52]++;
function sendAndReceive(map) {
  _$jscoverage['/luaclient_dest.js'].lineData[53]++;
  if (isLuaProcessClosed()) {
    _$jscoverage['/luaclient_dest.js'].lineData[55]++;
    throwBankExceptionByErrorCode(BACR_99601_80);
  }
  _$jscoverage['/luaclient_dest.js'].lineData[57]++;
  lp.Send(JSON.toJSONString(map));
  _$jscoverage['/luaclient_dest.js'].lineData[58]++;
  if (map.containsKey('password')) {
    _$jscoverage['/luaclient_dest.js'].lineData[59]++;
    map.put('password', '*******');
  }
  _$jscoverage['/luaclient_dest.js'].lineData[61]++;
  logger.info('send msg : {}', JSON.toJSONString(map));
  _$jscoverage['/luaclient_dest.js'].lineData[62]++;
  return lp.Receive();
}
_$jscoverage['/luaclient_dest.js'].lineData[71]++;
function getshow(url) {
  _$jscoverage['/luaclient_dest.js'].lineData[72]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[73]++;
  map.put('method', 'getshow');
  _$jscoverage['/luaclient_dest.js'].lineData[74]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[75]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[81]++;
function get(url) {
  _$jscoverage['/luaclient_dest.js'].lineData[82]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[83]++;
  map.put('method', 'get');
  _$jscoverage['/luaclient_dest.js'].lineData[84]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[85]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[91]++;
function show() {
  _$jscoverage['/luaclient_dest.js'].lineData[92]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[93]++;
  map.put('method', 'show');
  _$jscoverage['/luaclient_dest.js'].lineData[94]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[100]++;
function show_noff() {
  _$jscoverage['/luaclient_dest.js'].lineData[101]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[102]++;
  map.put('method', 'show_noff');
  _$jscoverage['/luaclient_dest.js'].lineData[103]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[109]++;
function hide() {
  _$jscoverage['/luaclient_dest.js'].lineData[110]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[111]++;
  map.put('method', 'hide');
  _$jscoverage['/luaclient_dest.js'].lineData[112]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[121]++;
function parserSend(map) {
  _$jscoverage['/luaclient_dest.js'].lineData[122]++;
  var msg = JSON.toJSONString(map);
  _$jscoverage['/luaclient_dest.js'].lineData[123]++;
  if (map.containsKey('password')) {
    _$jscoverage['/luaclient_dest.js'].lineData[124]++;
    var password = map.get('password');
    _$jscoverage['/luaclient_dest.js'].lineData[125]++;
    if (password !== null) {
      _$jscoverage['/luaclient_dest.js'].lineData[126]++;
      password = password.replaceAll('\\w', '*');
    }
    _$jscoverage['/luaclient_dest.js'].lineData[128]++;
    map.put('password', password);
  }
  _$jscoverage['/luaclient_dest.js'].lineData[130]++;
  if (map.containsKey('text')) {
    _$jscoverage['/luaclient_dest.js'].lineData[131]++;
    var text = map.get('text');
    _$jscoverage['/luaclient_dest.js'].lineData[132]++;
    if (text !== null) {
      _$jscoverage['/luaclient_dest.js'].lineData[133]++;
      text = text.replaceAll('\\w', '*');
    }
    _$jscoverage['/luaclient_dest.js'].lineData[135]++;
    map.put('text', text);
  }
  _$jscoverage['/luaclient_dest.js'].lineData[137]++;
  logger.info('send msg : {}', JSON.toJSONString(map));
  _$jscoverage['/luaclient_dest.js'].lineData[138]++;
  return msg;
}
_$jscoverage['/luaclient_dest.js'].lineData[148]++;
function set_input_text_by_id(id, text) {
  _$jscoverage['/luaclient_dest.js'].lineData[149]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[150]++;
  map.put('method', 'set_input_text_by_id');
  _$jscoverage['/luaclient_dest.js'].lineData[151]++;
  map.put('id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[152]++;
  map.put('text', text);
  _$jscoverage['/luaclient_dest.js'].lineData[153]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[163]++;
function set_proxy(address, port) {
  _$jscoverage['/luaclient_dest.js'].lineData[164]++;
  logger.info('\u4f7f\u7528\u4ee3\u7406 IP : {} , port : {}', address, port);
  _$jscoverage['/luaclient_dest.js'].lineData[165]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[166]++;
  map.put('method', 'set_proxy');
  _$jscoverage['/luaclient_dest.js'].lineData[167]++;
  map.put('address', address);
  _$jscoverage['/luaclient_dest.js'].lineData[168]++;
  map.put('port', port);
  _$jscoverage['/luaclient_dest.js'].lineData[169]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[183]++;
function set_proxy_password(address, port, username, password) {
  _$jscoverage['/luaclient_dest.js'].lineData[184]++;
  logger.info('\u4f7f\u7528\u4ee3\u7406 IP : {} , port : {} with password', address, port);
  _$jscoverage['/luaclient_dest.js'].lineData[185]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[186]++;
  map.put('method', 'set_proxy_password');
  _$jscoverage['/luaclient_dest.js'].lineData[187]++;
  map.put('address', address);
  _$jscoverage['/luaclient_dest.js'].lineData[188]++;
  map.put('port', port);
  _$jscoverage['/luaclient_dest.js'].lineData[189]++;
  map.put('username', username);
  _$jscoverage['/luaclient_dest.js'].lineData[190]++;
  map.put('password', password);
  _$jscoverage['/luaclient_dest.js'].lineData[191]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[199]++;
function get_alert_msg() {
  _$jscoverage['/luaclient_dest.js'].lineData[200]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[201]++;
  map.put('method', 'get_alert_msg');
  _$jscoverage['/luaclient_dest.js'].lineData[202]++;
  var msg = sendAndReceive(map);
  _$jscoverage['/luaclient_dest.js'].lineData[203]++;
  if (equals(msg, 'no')) {
    _$jscoverage['/luaclient_dest.js'].lineData[204]++;
    msg = '';
  }
  _$jscoverage['/luaclient_dest.js'].lineData[206]++;
  return msg;
}
_$jscoverage['/luaclient_dest.js'].lineData[214]++;
function get_url() {
  _$jscoverage['/luaclient_dest.js'].lineData[215]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[216]++;
  map.put('method', 'get_url');
  _$jscoverage['/luaclient_dest.js'].lineData[217]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[226]++;
function is_exist_by_id(id) {
  _$jscoverage['/luaclient_dest.js'].lineData[227]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[228]++;
  map.put('method', 'is_exist_by_id');
  _$jscoverage['/luaclient_dest.js'].lineData[229]++;
  map.put('id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[230]++;
  var result = sendAndReceive(map);
  _$jscoverage['/luaclient_dest.js'].lineData[231]++;
  if (StringUtils.isNotBlank(result) && equals(result, 'ok')) {
    _$jscoverage['/luaclient_dest.js'].lineData[232]++;
    return true;
  }
  _$jscoverage['/luaclient_dest.js'].lineData[234]++;
  return false;
}
_$jscoverage['/luaclient_dest.js'].lineData[244]++;
function frame_is_exist_by_id(id, frames) {
  _$jscoverage['/luaclient_dest.js'].lineData[245]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[246]++;
  map.put('method', 'frame_is_exist_by_id');
  _$jscoverage['/luaclient_dest.js'].lineData[247]++;
  map.put('id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[248]++;
  map.put('frame', frames);
  _$jscoverage['/luaclient_dest.js'].lineData[249]++;
  var result = sendAndReceive(map);
  _$jscoverage['/luaclient_dest.js'].lineData[250]++;
  if (StringUtils.isNotBlank(result) && equals(result, 'ok')) {
    _$jscoverage['/luaclient_dest.js'].lineData[251]++;
    return true;
  }
  _$jscoverage['/luaclient_dest.js'].lineData[253]++;
  return false;
}
_$jscoverage['/luaclient_dest.js'].lineData[263]++;
function set_input_text_by_id_event(id, text) {
  _$jscoverage['/luaclient_dest.js'].lineData[264]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[265]++;
  map.put('method', 'set_input_text_by_id_event');
  _$jscoverage['/luaclient_dest.js'].lineData[266]++;
  map.put('id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[267]++;
  map.put('text', text);
  _$jscoverage['/luaclient_dest.js'].lineData[268]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[278]++;
function get_html_by_id(id) {
  _$jscoverage['/luaclient_dest.js'].lineData[279]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[280]++;
  map.put('method', 'get_html_by_id');
  _$jscoverage['/luaclient_dest.js'].lineData[281]++;
  map.put('id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[282]++;
  var result = sendAndReceive(map);
  _$jscoverage['/luaclient_dest.js'].lineData[283]++;
  if (StringUtils.isBlank(result) || equals(result, 'get id fail') || equals(result, 'get element error')) {
    _$jscoverage['/luaclient_dest.js'].lineData[284]++;
    return '';
  }
  _$jscoverage['/luaclient_dest.js'].lineData[286]++;
  return result;
}
_$jscoverage['/luaclient_dest.js'].lineData[295]++;
function change_id_by_name(name) {
  _$jscoverage['/luaclient_dest.js'].lineData[296]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[297]++;
  map.put('method', 'change_id_by_name');
  _$jscoverage['/luaclient_dest.js'].lineData[298]++;
  map.put('name', name);
  _$jscoverage['/luaclient_dest.js'].lineData[299]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[309]++;
function set_frame_input_text_by_id(id, text, frames) {
  _$jscoverage['/luaclient_dest.js'].lineData[310]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[311]++;
  map.put('method', 'set_frame_input_text_by_id');
  _$jscoverage['/luaclient_dest.js'].lineData[312]++;
  map.put('id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[313]++;
  map.put('text', text);
  _$jscoverage['/luaclient_dest.js'].lineData[314]++;
  map.put('frame', frames);
  _$jscoverage['/luaclient_dest.js'].lineData[315]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[325]++;
function set_frame_input_text_by_id_event(id, text, frames) {
  _$jscoverage['/luaclient_dest.js'].lineData[326]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[327]++;
  map.put('method', 'set_frame_input_text_by_id_event');
  _$jscoverage['/luaclient_dest.js'].lineData[328]++;
  map.put('id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[329]++;
  map.put('text', text);
  _$jscoverage['/luaclient_dest.js'].lineData[330]++;
  map.put('frame', frames);
  _$jscoverage['/luaclient_dest.js'].lineData[331]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[341]++;
function ajax_get(url) {
  _$jscoverage['/luaclient_dest.js'].lineData[342]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[343]++;
  map.put('method', 'ajax_get');
  _$jscoverage['/luaclient_dest.js'].lineData[344]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[345]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[355]++;
function lua_ajax_get(url) {
  _$jscoverage['/luaclient_dest.js'].lineData[356]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[357]++;
  map.put('method', 'lua_ajax_get');
  _$jscoverage['/luaclient_dest.js'].lineData[358]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[359]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[370]++;
function ajax_post_json(url, json) {
  _$jscoverage['/luaclient_dest.js'].lineData[371]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[372]++;
  map.put('method', 'ajax_post_json');
  _$jscoverage['/luaclient_dest.js'].lineData[373]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[374]++;
  map.put('json', json);
  _$jscoverage['/luaclient_dest.js'].lineData[375]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[386]++;
function ajax_post(url, postdata) {
  _$jscoverage['/luaclient_dest.js'].lineData[387]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[388]++;
  var sb = new StringBuffer;
  _$jscoverage['/luaclient_dest.js'].lineData[389]++;
  if (postdata != undefined || postdata != null) {
    _$jscoverage['/luaclient_dest.js'].lineData[390]++;
    for each (var key in postdata.keySet()) {
      _$jscoverage['/luaclient_dest.js'].lineData[391]++;
      sb.append(key + '\x3d' + postdata.get(key) + '\x26');
    }
  }
  _$jscoverage['/luaclient_dest.js'].lineData[394]++;
  var data = '';
  _$jscoverage['/luaclient_dest.js'].lineData[395]++;
  if (sb.length() > 0) {
    _$jscoverage['/luaclient_dest.js'].lineData[396]++;
    data = sb.substring(0, sb.length() - 1);
  }
  _$jscoverage['/luaclient_dest.js'].lineData[398]++;
  map.put('method', 'ajax_post');
  _$jscoverage['/luaclient_dest.js'].lineData[399]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[400]++;
  map.put('data', data);
  _$jscoverage['/luaclient_dest.js'].lineData[401]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[404]++;
function ajax_post_file(url, postdata) {
  _$jscoverage['/luaclient_dest.js'].lineData[405]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[406]++;
  var sb = new StringBuffer;
  _$jscoverage['/luaclient_dest.js'].lineData[407]++;
  for each (var key in postdata.keySet()) {
    _$jscoverage['/luaclient_dest.js'].lineData[408]++;
    sb.append(key + '\x3d' + postdata.get(key) + '\x26');
  }
  _$jscoverage['/luaclient_dest.js'].lineData[410]++;
  var data = '';
  _$jscoverage['/luaclient_dest.js'].lineData[411]++;
  if (sb.length() > 0) {
    _$jscoverage['/luaclient_dest.js'].lineData[412]++;
    data = sb.substring(0, sb.length() - 1);
  }
  _$jscoverage['/luaclient_dest.js'].lineData[414]++;
  map.put('method', 'ajax_post_file');
  _$jscoverage['/luaclient_dest.js'].lineData[415]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[416]++;
  map.put('data', data);
  _$jscoverage['/luaclient_dest.js'].lineData[417]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[427]++;
function ajax_frame_get(url, frames) {
  _$jscoverage['/luaclient_dest.js'].lineData[428]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[429]++;
  map.put('method', 'ajax_frame_get');
  _$jscoverage['/luaclient_dest.js'].lineData[430]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[431]++;
  map.put('frame', frames);
  _$jscoverage['/luaclient_dest.js'].lineData[432]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[443]++;
function ajax_frame_post_json(url, json, frames) {
  _$jscoverage['/luaclient_dest.js'].lineData[444]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[445]++;
  map.put('method', 'ajax_frame_post_json');
  _$jscoverage['/luaclient_dest.js'].lineData[446]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[447]++;
  map.put('json', json);
  _$jscoverage['/luaclient_dest.js'].lineData[448]++;
  map.put('frame', frames);
  _$jscoverage['/luaclient_dest.js'].lineData[449]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[460]++;
function ajax_frame_post(url, postdata, frames) {
  _$jscoverage['/luaclient_dest.js'].lineData[461]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[462]++;
  var sb = new StringBuffer;
  _$jscoverage['/luaclient_dest.js'].lineData[463]++;
  for each (var key in postdata.keySet()) {
    _$jscoverage['/luaclient_dest.js'].lineData[464]++;
    sb.append(key + '\x3d' + postdata.get(key) + '\x26');
  }
  _$jscoverage['/luaclient_dest.js'].lineData[466]++;
  var data = '';
  _$jscoverage['/luaclient_dest.js'].lineData[467]++;
  if (sb.length() > 0) {
    _$jscoverage['/luaclient_dest.js'].lineData[468]++;
    data = sb.substring(0, sb.length() - 1);
  }
  _$jscoverage['/luaclient_dest.js'].lineData[470]++;
  map.put('method', 'ajax_frame_post');
  _$jscoverage['/luaclient_dest.js'].lineData[471]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[472]++;
  map.put('data', data);
  _$jscoverage['/luaclient_dest.js'].lineData[473]++;
  map.put('frame', frames);
  _$jscoverage['/luaclient_dest.js'].lineData[474]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[483]++;
function click_by_id(id) {
  _$jscoverage['/luaclient_dest.js'].lineData[484]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[485]++;
  map.put('method', 'click_by_id');
  _$jscoverage['/luaclient_dest.js'].lineData[486]++;
  map.put('click_id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[487]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[496]++;
function screen_print() {
  _$jscoverage['/luaclient_dest.js'].lineData[497]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[498]++;
  map.put('method', 'screen_print');
  _$jscoverage['/luaclient_dest.js'].lineData[499]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[508]++;
function screen_full_print() {
  _$jscoverage['/luaclient_dest.js'].lineData[509]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[510]++;
  map.put('method', 'screen_full_print');
  _$jscoverage['/luaclient_dest.js'].lineData[511]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[520]++;
function click_by_tag_text(tag, text) {
  _$jscoverage['/luaclient_dest.js'].lineData[521]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[522]++;
  map.put('method', 'click_by_tag_text');
  _$jscoverage['/luaclient_dest.js'].lineData[523]++;
  map.put('tag', tag);
  _$jscoverage['/luaclient_dest.js'].lineData[524]++;
  map.put('text', text);
  _$jscoverage['/luaclient_dest.js'].lineData[525]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[534]++;
function get_ids_by_tag(tag) {
  _$jscoverage['/luaclient_dest.js'].lineData[535]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[536]++;
  map.put('method', 'get_ids_by_tag');
  _$jscoverage['/luaclient_dest.js'].lineData[537]++;
  map.put('tag', tag);
  _$jscoverage['/luaclient_dest.js'].lineData[538]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[547]++;
function click_frame_by_id(id, frames) {
  _$jscoverage['/luaclient_dest.js'].lineData[548]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[549]++;
  map.put('method', 'click_frame_by_id');
  _$jscoverage['/luaclient_dest.js'].lineData[550]++;
  map.put('click_id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[551]++;
  map.put('frame', frames);
  _$jscoverage['/luaclient_dest.js'].lineData[552]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[561]++;
function get_image_by_id(id) {
  _$jscoverage['/luaclient_dest.js'].lineData[563]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[564]++;
  map.put('method', 'get_image_by_id');
  _$jscoverage['/luaclient_dest.js'].lineData[565]++;
  map.put('image_id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[566]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[575]++;
function get_hide_image_by_id(id) {
  _$jscoverage['/luaclient_dest.js'].lineData[577]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[578]++;
  map.put('method', 'get_hide_image_by_id');
  _$jscoverage['/luaclient_dest.js'].lineData[579]++;
  map.put('image_id', id);
  _$jscoverage['/luaclient_dest.js'].lineData[580]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[589]++;
function click_by_class(className) {
  _$jscoverage['/luaclient_dest.js'].lineData[591]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[592]++;
  map.put('method', 'click_by_class');
  _$jscoverage['/luaclient_dest.js'].lineData[593]++;
  map.put('class_name', className);
  _$jscoverage['/luaclient_dest.js'].lineData[594]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[603]++;
function download_by_click_id(clickId) {
  _$jscoverage['/luaclient_dest.js'].lineData[604]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[605]++;
  map.put('method', 'download_by_click_id');
  _$jscoverage['/luaclient_dest.js'].lineData[606]++;
  map.put('click_id', clickId);
  _$jscoverage['/luaclient_dest.js'].lineData[607]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[616]++;
function download_by_click_element(tableid, num) {
  _$jscoverage['/luaclient_dest.js'].lineData[618]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[619]++;
  map.put('method', 'download_by_click_element');
  _$jscoverage['/luaclient_dest.js'].lineData[620]++;
  map.put('table_id', tableid);
  _$jscoverage['/luaclient_dest.js'].lineData[621]++;
  map.put('num', num);
  _$jscoverage['/luaclient_dest.js'].lineData[622]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[632]++;
function frame_download_by_click_id(clickId, frames) {
  _$jscoverage['/luaclient_dest.js'].lineData[634]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[635]++;
  map.put('method', 'frame_download_by_click_id');
  _$jscoverage['/luaclient_dest.js'].lineData[636]++;
  map.put('click_id', clickId);
  _$jscoverage['/luaclient_dest.js'].lineData[637]++;
  map.put('frame', frames);
  _$jscoverage['/luaclient_dest.js'].lineData[638]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[648]++;
function click_by_id_wait_id(click_id, wait_id) {
  _$jscoverage['/luaclient_dest.js'].lineData[649]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[650]++;
  map.put('method', 'click_by_id_wait_id');
  _$jscoverage['/luaclient_dest.js'].lineData[651]++;
  map.put('click_id', click_id);
  _$jscoverage['/luaclient_dest.js'].lineData[652]++;
  map.put('wait_id', wait_id);
  _$jscoverage['/luaclient_dest.js'].lineData[653]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[663]++;
function close() {
  _$jscoverage['/luaclient_dest.js'].lineData[664]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[665]++;
  map.put('method', 'close');
  _$jscoverage['/luaclient_dest.js'].lineData[666]++;
  map.put('isEnd', '1');
  _$jscoverage['/luaclient_dest.js'].lineData[667]++;
  var isDaemon = Thread.currentThread().isDaemon();
  _$jscoverage['/luaclient_dest.js'].lineData[668]++;
  var msg = 'ok';
  _$jscoverage['/luaclient_dest.js'].lineData[670]++;
  if (isDaemon) {
    _$jscoverage['/luaclient_dest.js'].lineData[671]++;
    map.put('warn', '\u5f53\u524d\u7ebf\u7a0b\u88ab\u5b88\u62a4\u7ebf\u7a0b\u8c03\u7528,\u8fd9\u6761\u6d88\u606f\u662f\u4e3a\u4e86\u67e5\u770b\u9000\u51fa\u65b9\u6cd5\u662f\u5426\u6267\u884c,\u5176\u5b9e\u4e0d\u6267\u884c');
    _$jscoverage['/luaclient_dest.js'].lineData[672]++;
    parserSend(map);
  } else {
    _$jscoverage['/luaclient_dest.js'].lineData[674]++;
    msg = sendAndReceive(map);
  }
  _$jscoverage['/luaclient_dest.js'].lineData[677]++;
  return msg;
}
_$jscoverage['/luaclient_dest.js'].lineData[687]++;
function input_password(password) {
  _$jscoverage['/luaclient_dest.js'].lineData[689]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[690]++;
  map.put('method', 'input_password');
  _$jscoverage['/luaclient_dest.js'].lineData[691]++;
  map.put('password', password);
  _$jscoverage['/luaclient_dest.js'].lineData[692]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[701]++;
function press_back_space(count) {
  _$jscoverage['/luaclient_dest.js'].lineData[703]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[704]++;
  map.put('method', 'press_back_space');
  _$jscoverage['/luaclient_dest.js'].lineData[705]++;
  map.put('count', String.valueOf(count));
  _$jscoverage['/luaclient_dest.js'].lineData[706]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[714]++;
function get_html() {
  _$jscoverage['/luaclient_dest.js'].lineData[716]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[717]++;
  map.put('method', 'get_html');
  _$jscoverage['/luaclient_dest.js'].lineData[718]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[727]++;
function get_frame_html(frames) {
  _$jscoverage['/luaclient_dest.js'].lineData[728]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[729]++;
  map.put('method', 'get_frame_html');
  _$jscoverage['/luaclient_dest.js'].lineData[730]++;
  map.put('frame', frames);
  _$jscoverage['/luaclient_dest.js'].lineData[731]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[739]++;
function get_cookie() {
  _$jscoverage['/luaclient_dest.js'].lineData[740]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[741]++;
  map.put('method', 'get_cookie');
  _$jscoverage['/luaclient_dest.js'].lineData[742]++;
  var cookie = sendAndReceive(map);
  _$jscoverage['/luaclient_dest.js'].lineData[743]++;
  var cookies = cookie.split('; ');
  _$jscoverage['/luaclient_dest.js'].lineData[744]++;
  var cookieMap = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[745]++;
  for each (var string in cookies) {
    _$jscoverage['/luaclient_dest.js'].lineData[746]++;
    if (StringUtils.isNotBlank(string)) {
      _$jscoverage['/luaclient_dest.js'].lineData[747]++;
      var coo = string.split('\x3d');
      _$jscoverage['/luaclient_dest.js'].lineData[748]++;
      if (coo.length == 2) {
        _$jscoverage['/luaclient_dest.js'].lineData[749]++;
        cookieMap.put(coo[0].trim(), coo[1].trim());
      } else {
        _$jscoverage['/luaclient_dest.js'].lineData[751]++;
        cookieMap.put(coo[0].trim(), '');
      }
    }
  }
  _$jscoverage['/luaclient_dest.js'].lineData[755]++;
  var sb = new StringBuffer;
  _$jscoverage['/luaclient_dest.js'].lineData[756]++;
  for each (var key in cookieMap.keySet()) {
    _$jscoverage['/luaclient_dest.js'].lineData[757]++;
    sb.append(key + '\x3d' + cookieMap.get(key) + '; ');
  }
  _$jscoverage['/luaclient_dest.js'].lineData[759]++;
  if (sb.length() > 0) {
    _$jscoverage['/luaclient_dest.js'].lineData[760]++;
    cookie = sb.substring(0, sb.length() - 2);
  }
  _$jscoverage['/luaclient_dest.js'].lineData[762]++;
  return cookie;
}
_$jscoverage['/luaclient_dest.js'].lineData[770]++;
function refresh() {
  _$jscoverage['/luaclient_dest.js'].lineData[771]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[772]++;
  map.put('method', 'refresh');
  _$jscoverage['/luaclient_dest.js'].lineData[773]++;
  return sendAndReceive(map);
}
_$jscoverage['/luaclient_dest.js'].lineData[781]++;
function openNewWindow(url) {
  _$jscoverage['/luaclient_dest.js'].lineData[782]++;
  var map = new LinkedHashMap;
  _$jscoverage['/luaclient_dest.js'].lineData[783]++;
  map.put('method', 'open_in_new_window');
  _$jscoverage['/luaclient_dest.js'].lineData[784]++;
  map.put('url', url);
  _$jscoverage['/luaclient_dest.js'].lineData[785]++;
  return sendAndReceive(map);
}
